package com.by.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author ServivE
 * @version 0.1
 * @className OrderItem
 * @description
 * @date 2024/11/14 14:40
 * @since jdk17
 */
@Data
@ApiModel("订单明细")
public class OrderItem {
    @TableId(value = "order_item_id", type = IdType.AUTO)
    Integer order_item_id;

    Integer shop_id;
    Integer order_id;
    Integer category_id;

    Integer spu_id;

    Integer sku_id;

    Integer user_id;

    @ApiModelProperty(value = "购物车产品个数")
    Integer count;

    String spu_name;

    String sku_name;
@ApiModelProperty(value = "产品主图片路径")
    String pic;

    @ApiModelProperty(value = "加入购物车时间",example = "2024-11-11 10:30:30")
    String shop_cart_time;

    Integer price;
    @ApiModelProperty(value = "商品总金额")
    Integer spu_total_amount;











}
